package com.ruoyi.bom.dto;

import com.ruoyi.common.core.utils.CalculatedValueUtil;



import java.math.BigDecimal;

public class TwoPeriodCompareDto {



private Long id;



    private String stapCode;
private String stapName;
        private String deptName;
    private String deptCode;
    private Integer stapCount;
    private BigDecimal sumThisProlossAmout;
    private BigDecimal sumLastProlossAmout;
    private BigDecimal prolossAmoutDif;
    private String ids;

    public void setId(Long id) {
        this.id = id;
    }

    public void setStapCode(String stapCode) {
        this.stapCode = stapCode;
    }

    public String getStapName() {
        return stapName;
    }

    public void setStapName(String stapName) {
        this.stapName = stapName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getStapCount() {
        return stapCount;
    }

    public void setStapCount(Integer stapCount) {
        this.stapCount = stapCount;
    }

    public BigDecimal getSumThisProlossAmout() {
        return sumThisProlossAmout;
    }

    public void setSumThisProlossAmout(BigDecimal sumThisProlossAmout) {
        this.sumThisProlossAmout = sumThisProlossAmout;
    }

    public BigDecimal getSumLastProlossAmout() {
        return sumLastProlossAmout;
    }

    public void setSumLastProlossAmout(BigDecimal sumLastProlossAmout) {
        this.sumLastProlossAmout = sumLastProlossAmout;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }


    public BigDecimal getProlossAmoutDif() {
       BigDecimal pad= CalculatedValueUtil.subtractionBigDecimal(this.sumThisProlossAmout,this.sumLastProlossAmout);
        return pad;
    }

    public void setProlossAmoutDif(BigDecimal prolossAmoutDif) {
        this.prolossAmoutDif = prolossAmoutDif;
    }

    public Long getId() {
        return id;
    }

    public String getStapCode() {
        return stapCode;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }














}
